package org.datacoder.util

class Pair<F, S> {

    F first
    S second

    public Pair(F first, S second){
        this.first = first
        this.second = second
    }
    public Pair(LinkedHashMap<String, Object> map){
        first = map.get("first")
        second = map.get("second")
    }

    public String toString(){
        return "Pair--First: ${first}; Second: ${second}"
    }

}

